﻿namespace SCProjectE
{
    [Serializable]
    public class ItemData
    {
        public int ItemID { get; set;}
        public float BaseValue { get; set;}
        public int EnergyCost { get; set;}

        public ItemData(int itemID, float baseValue, int energyCost)
        {
            ItemID = itemID;
            BaseValue = baseValue;
            EnergyCost = energyCost;
        }

        public void UpdateValue(float newvalue)
        {
            BaseValue = newvalue;
        }
    }
}
